
VER=v18.16.1
wget -c https://nodejs.org/dist/$VER/node-$VER-linux-x64.tar.xz -O node.tar.xz
tar xf node.tar.xz
mv node-$VER-linux-x64 /usr/local/node
ln -sf /usr/local/node/bin/node /usr/local/bin/node
ln -sf /usr/local/node/bin/npm /usr/local/bin/npm
ln -sf /usr/local/node/bin/npx /usr/local/bin/npx
npm install -g yarn
npm install -g pnpm
ln -sf /usr/local/node/bin/yarn /usr/local/bin/yarn
ln -sf /usr/local/node/bin/pnpm /usr/local/bin/pnpm
